#这是原始文件（没有删除lvgl文件夹与lv_drivers文件夹中的.c文件）
cmake_minimum_required(VERSION 3.12.4)
project(test)
include_directories(.)
include_directories(./lvgl)
include_directories(./lv_drivers)
include_directories(./UI_proj)

add_subdirectory(lvgl)
add_subdirectory(lv_drivers)
#add_subdirectory(UI_proj)

add_executable(${PROJECT_NAME} test.c)
target_link_libraries(${PROJECT_NAME} PRIVATE ui lvgl  lv_drivers SDL2)
#target_link_directory(${PROJECT_NAME} PRIVATE {CMAKE_SOURCE_DIR}/lib)